.\"                                      Hey, EMACS: -*- nroff -*-
.TH GETPCAPS 8 "2020-01-04"
.\" Please adjust this date whenever revising the manpage.
.SH NAME
getpcaps \- display process capabilities
.SH SYNOPSIS
.BR getpcaps " [optional args]"
.IR pid ...
.SH DESCRIPTION
.B getpcaps
displays the capabilities on the processes indicated by the
.I pid
value(s) given on the command line.
A
.I pid
of 0 displays the capabilities of the process that is running
.B getpcaps
itself.
.PP
The capabilities are displayed in
the
.BR cap_from_text (3)
format.
.PP
Optional arguments:
.TP
.BR \-\-help " or " \-\-usage
Displays usage information and exits.
.TP
.BR \-\-ugly " or " \-\-legacy
Displays output in a somewhat ugly legacy format.
.TP
.B \-\-verbose
Displays usage in a legacy-like format but not quite so ugly in modern
default terminal fonts.
.SH SEE ALSO
.BR capsh (1),
.BR capabilities (7),
.BR getcap (8),
.BR setcap (8)
.SH AUTHOR
This manual page was originally written by Robert Bihlmeyer
<robbe@debian.org>, for the Debian GNU/Linux system (but may be used
by others).

